<html>
	<head>
		<meta charset="UTF-8">
		<title>success</title>
		<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
	</head>
	<body>
		<button id="btn" onclick="sub()">查看用户信息</button>
		<script>
			function sub(){
				$.getJSON("http://localhost:9999/boot3/getMessage",function success(data){
					console.log(data);
				})
			}
		</script>
	</body>
</html>